<template>
  <div class="index">
    <div class="each">
      <PieChart title="客户分级"></PieChart>
    </div>
    <div class="each">
      <PieChart title="客户阶段"></PieChart>
    </div>
    <div class="each">
      <PieChart title="客户来源"></PieChart>
    </div>
    <div class="each">
      <PieChart title="客户级别"></PieChart>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import PieChart from "@/components/PieChart.vue";
export default defineComponent({
  name: "Home",
  components: {
    PieChart,
  },
  data() {
    return {};
  },
});
</script>
<style lang="less" scoped>
.index {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.each {
  width: 400px;
  height: 400px;
  box-shadow: 3px 2px 17px 0px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
</style>
